#include "totalpoint.h"
#include <QDebug>

myPoint::myPoint(  int X ,   int  Y,  int Z )
{
    x = X;
    y = Y;
   color =Z;
   qDebug("myPoint  cons") ;
}
myPoint::myPoint()
{
    x = -1;
    y = -1;
   color =0;
   qDebug()<<"myPoint  cons moren";

}
 void myPoint::set(  int X ,   int  Y,  int Z )
{
    x = X;
    y = Y;
   color =Z;
}
 void myPoint::setColor(int scolor)
 {
    color=scolor;

 }
 myPoint::~myPoint()
 {
   // qDebug()<<"myPoint  deccons";

 }
 void myPoint::setXY(int xx,int yy)
 {
    x=xx;
    y=yy;
 }
